package UserP;

public abstract class  User {
    protected String name;
    protected int id;
    protected String role;

    public User(String name, int id, String role) {
        this.name = name;
        this.id = id;
        this.role = role;
    }


    public String getName(){
        return name;
    }
    public int getId(){
        return id;
    }
    public String getrole(){
        return role;
    }
    public abstract int display();

}
